[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 gettime()               Get System Time

 #include   <dos.h>

 void         gettime(timep);
 struct time  *timep;                    Pointer to structure

    gettime() gets the system's current time and fills in the 'time'
    structure pointed to by 'timep'.  The 'time' structure is defined as:

          struct time  {
               unsigned char ti_min;         /* Minutes */
               unsigned char ti_hour;        /* Hours */
               unsigned char ti_hund;        /* Hundredths of seconds */
               unsigned char ti_sec;         /* Seconds */
          };

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: getdate() setdate() settime()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson